package canal.client;

import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ItemsMapper {

    @Select("SELECT * FROM Items WHERE id = #{id}")
    Items selectItems(int id);

    @Select("SELECT * FROM Items")
    List<Items> selectAllItems();
}
